*{
    margin: 0;
    padding: 0;
    font-family: Microsoft Yahei;
    font-size: 14px;
    color: #999;
}

header{
    height: 44px;
    line-height: 44px;
    text-align: center;
}

button{
    margin-left: 5%;
    display: inline-block;
    vertical-align: top;
    top: 0;
    height: 28px;
    padding: 0 15px;
    border-radius: 4px;
    border: 1px solid #ff3c3c;
    background-color: #ff3c3c;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 28px;
    outline: none;
    cursor: pointer;
}

button:active{
    background-color: #ff0909;
}

button em{
    font-style: normal;
    color: #fff;
}

pre.output{
    display: block;
    width: 90%;
    margin: 10px auto;
    color: #fff;
    background: #000;
    border-radius: 2px;
    outline: none;
    height: 300px;
    padding: 20px;
    overflow: scroll;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

pre.output .error{
    color: red;
}


#loading {
  display: none;
  width: 30px;
  height: 28px;
  vertical-align: top;
  margin-left: 10px;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  padding-top: 7px;
}


#loading.show{
  display: inline-block;
}


#loading .loading {  
  /*修改文字大小改变loading大小*/
  font-size:10px;
  /*修改文字大小改变loading大小*/
  
  width: 1em;
  height: 1em;
  margin: auto;
  position: relative;
  -webkit-perspective: 4em;
  perspective: 4em;
}
#loading .loading > div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(100, 100, 100, 0.5);
  left: 0;
  top: 0;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
}
#loading .loading .top {
  -webkit-transform-origin: 0% 100% 0;
  transform-origin: 0% 100% 0;
  -webkit-transform: rotateX(-90deg);background:#fa3434;
  transform: rotateX(-90deg);
  top: -100%;
  -webkit-animation-name: top;
  animation-name: top;
}
#loading .loading .bottom {
  -webkit-transform-origin: 50% 0% 0;
  transform-origin: 50% 0% 0;
  background:#71bb2a;
  top: 100%;
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-animation-name: bottom;
  animation-name: bottom;
}
#loading .loading .left {
  -webkit-transform-origin: 100% 50% 0;
  transform-origin: 100% 50% 0;
  -webkit-transform: rotateY(90deg);
  background:#fa8434;
  transform: rotateY(90deg);
  left: -100%;
  -webkit-animation-name: left;
  animation-name: left;
}
#loading .loading .right {
  -webkit-transform-origin: 0% 50% 0;
  transform-origin: 0% 50% 0;
  left: 100%;
  background:#0086ca;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-animation-name: right;
  animation-name: right;
}

@-webkit-keyframes top {
  from {
    -webkit-transform: rotateX(-90deg);
  }
  to {
    -webkit-transform: rotateX(90deg) translate3d(0,100%,0) ;
  }
}
@keyframes top {
  from {
    transform: rotateX(-90deg);
  }
  to {
    transform: rotateX(90deg) translate3d(0,100%,0);
  }
}
@-webkit-keyframes left {
  10% {
    -webkit-transform: rotateY(90deg);
  }
  to {
    -webkit-transform: rotateY(-90deg) translate3d(100%,0,0);
  }
}
@keyframes left {
  10% {
    transform: rotateY(90deg);
  }
  to {
    transform: rotateY(-90deg) translate3d(100%,0,0);
  }
}

@-webkit-keyframes bottom {
  20% {
    -webkit-transform: rotateX(90deg);
  }
  to {
    -webkit-transform: rotateX(-90deg) translate3d(0,-100%,0);
  }
}
@keyframes bottom {
  20% {
    transform: rotateX(90deg);
  }
  to {
    transform: rotateX(-90deg) translate3d(0,-100%,0);
  }
}
@-webkit-keyframes right {
  30% {
    -webkit-transform: rotateY(-90deg);
  }
  to {
    -webkit-transform: rotateY(90deg) translate3d(-100%,0,0);
  }
}
@keyframes right {
  30% {
    transform: rotateY(-90deg);
  }
  to {
    transform: rotateY(90deg) translate3d(-100%,0,0);
  }
}

